//
//  UIViewController+PopPushBack.h
//  MCCSframework
//
//  Created by qq on 2019/8/9.
//  Copyright © 2019 yhy. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void (^block_t)(void);
typedef void(^popToBlock)(Class vcClass);

@interface UIViewController (PopPushBack)
@property (strong, nonatomic, readonly) block_t back;
@property (strong, nonatomic, readonly) popToBlock popTo;

-(void)push:(UIViewController*)vc;
// 显示模式窗体 translucentColor: 半透明遮罩层颜色
-(void)showDialog:(UIViewController*)vc translucentColor:(UIColor*)color;
@end

NS_ASSUME_NONNULL_END
